import entity.Book;
import tool.model.PageBean;

import java.math.BigDecimal;

/**
 * @Author：xz
 * @Date：2023/7/18
 */
public class 泛型 {
    public static void main(String[] args) {
        Book book = new Book(1L,"在","213",1,new BigDecimal(1),"123");
        System.out.println(test(book));
        PageBean pageBean = new PageBean<>();
        System.out.println(test(pageBean));
    }
    public static <T> T test(T a) {
        return a;
    }
}
